package com.fortune.cat.route;

import org.springframework.cloud.gateway.route.RouteDefinition;
import reactor.core.publisher.Flux;

/**
 * @author zhaozeyang
 */
public interface VariableRouteDefinitionLocator {

    /**
     * 获取路由规则定义
     *
     * @return
     */
    Flux<RouteDefinition> getRouteDefinitions();

}
